<include file="Public:header" />
<div class="page-member subpage">
    <div class="form-header">
        <div>
            <div class="line1">
                <div class="fl"><h3>租赁补贴季度 / 新增</h3></div>
                <div class="fr hidden">
                    <form class="search-form" method="post" action="">
                        <input name="field" value="{$filter.field}" type="text" />
                        <input name="value" value="{$filter.value}" type="text" />
                        <input name="page" value="{$filter.page}" type="hidden" />
                        <input name="order_field" value="{$filter.order_field}" type="hidden" />
                        <input name="order_sort" value="{$filter.order_sort}" type="hidden" />
                        <button class="btn-normal" type="submit">查 询</button>
                    </form>
                </div>
            </div>
            <div class="line2">
                <div class="fl form-btn-group">
                    <button onclick="submitForm();" class="btn-save btn-highlight">保 存</button>
                    <span>或</span>
                    <a class="linkBtn btn-abort" href="/admin/zlbtPeriod/index">放弃</a>
                </div>
            </div>
        </div>
    </div>
    <div class="form-box2">
        <div>
            <form id="periodForm" method="post" action="">
                <input type="hidden" name="id" id="id" value="{$period.id}" />
                <table class="form">
                    <tr>
                        <th width="15%">租赁补贴年份<span class="hint">*</span></th>
                        <td width="35%">
                            <select name="year">
                                <volist name="year" id="vo">
                                    <option <if condition="$vo eq $period[year]">selected="selected"</if> value="{$vo}">{$vo}年</option>
                                </volist>
                            </select>
                        </td>
                        <th width="15%">租赁补贴季度<span class="hint">*</span></th>
                        <td>
                            <select name="season">
                                <option <if condition="$period.season eq 1">selected="selected"</if> value="1">第一季度</option>
                                <option <if condition="$period.season eq 2">selected="selected"</if> value="2">第二季度</option>
                                <option <if condition="$period.season eq 3">selected="selected"</if> value="3">第三季度</option>
                                <option <if condition="$period.season eq 4">selected="selected"</if> value="4">第四季度</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>申请开始时间<span class="hint">*</span></th>
                        <td><input name="start_date" placeholder="时间格式：2017/07/01" type="text" value="{$period.start_date|default=time()|date='Y/m/d',###}" /> </td>
                        <th>申请结束时间<span class="hint">*</span></th>
                        <td><input name="end_date" placeholder="时间格式：2017/07/20" type="text" value="{$period.end_date|default=time()|date='Y/m/d',###}" /> </td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td><input name="remarks" type="text" value="{$period.remarks}" /> </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
<script src="__JS__/zlbtPeriod.js" type="text/javascript" ></script>
<include file="Public:footer" />
